const express = require('express');
const router = express.Router();
const userRoutes = require('./user.routes');
const menuRoutes = require('./menu.routes');
const roleRoutes = require('./role.routes');
const authRoutes = require("./auth.routes");

// 认证相关路由
router.use('/auth', authRoutes);

// 用户相关路由
router.use('/users', userRoutes);

// 菜单相关路由
router.use('/menus', menuRoutes);

// 角色相关路由
router.use('/roles', roleRoutes);

module.exports = router; 